
/** 页面顶端:当前页到信息 */
export default {
  state: {
    backRoute: '/',
    hash: '',
    icon: '',
    iframeTabs: false,
    title: 'himygirl-menus',
    tabs: []
  },
  set (newState) {
    this.state.title = newState.title || '首页'
    this.state.hash = newState.hash || '/menus'
    this.state.icon = newState.icon || 'home'
    this.state.iframeTabs = newState.iframeTabs || false
    this.state.backRoute = newState.backRoute || '/menus'
    this.state.tabs = newState.tabs || []
  }
}
